public class Main{
    private static int a,m;
    private static double y;

    public static void main(String[] args){
        LoanCalculator loanCalculator= new LoanCalculator(a=100,m=360,y=0.049);
        loanCalculator.avgCaption();
        loanCalculator.avgInterest();
        loanCalculator.print();
    }
}
